package com.ruoyi.answer.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试记录对象 exam_record
 *
 * @author ruoyi
 * @date 2022-08-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_record")
public class ExamRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 自动编号
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 考试用户账户
     */
    private Long employeeAccount;
    /**
     * 考试时长
     */
    private Long duration;
    /**
     * 考试试卷id
     */
    private Long paperId;
    /**
     * 该试卷得分
     */
    private Long score;
    /**
     * 版本
     */
    @Version
    private Long version;
    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;

}
